package org.linlinjava.litemall.db.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.linlinjava.litemall.db.models.Role;

import java.util.List;
import java.util.Set;

public interface RoleService extends IService<Role> {
    public Set<String> queryByIds(Integer[] roleIds);
    public IPage<Role> querySelective(String name, Integer page, Integer limit) ;
    public boolean checkExist(String name);
    public List<Role> queryAll();
}
